package com.qifan.alb2b.service;

import org.springframework.stereotype.Service;
import com.qifan.alb2b.dao.OtherInfoDao;
import com.qifan.alb2b.domain.OtherInfoDomain;
import com.qifan.alb2b.util.DataGridModel;
import com.qifan.alb2b.util.Page;

/**
 * 其他活动业务对象
 * 
 * @author hc24
 * 
 */
@Service
public class OtherInfoService {
	private OtherInfoDao otherInfoDao;

	public void setOtherInfoDao(OtherInfoDao otherInfoDao) {
		this.otherInfoDao = otherInfoDao;
	}

	public Page query(DataGridModel dgm, OtherInfoDomain oid) {
		return otherInfoDao.query(dgm, oid);
	}

	public OtherInfoDomain getOtherById(String oid) {
		return otherInfoDao.getOtherById(oid);
	}

	public void add(OtherInfoDomain otherInfoDomain) {
		otherInfoDao.add(otherInfoDomain);
	}

	public void update(OtherInfoDomain otherInfoDomain) {
		otherInfoDao.update(otherInfoDomain);
	}

	public void delete(String[] ids) {
		otherInfoDao.delete(ids);
	}
}
